<template>
    <div class="goods-list">
        <div class="goods-item">
            <img src="https://img.alicdn.com/imgextra/i3/118052710/O1CN01h5pjhh1VtDup3mEdX_!!0-saturn_solar.jpg_220x220.jpg_.webp" alt="">
            <div class="info">
                <p class="price">
                    <span class="now">￥59</span>
                    <span class="send">包邮</span>
                </p>
                 <h3 class="title">小米体脂秤2代体重秤家用智能人体测脂肪精</h3>
                <p class="sell">
                    <span>小米良米专卖店</span>
                    <span>2517人付款</span>
                </p>
            </div>
        </div>
        <div class="goods-item">
            <img src="https://img.alicdn.com/imgextra/i3/118052710/O1CN01h5pjhh1VtDup3mEdX_!!0-saturn_solar.jpg_220x220.jpg_.webp" alt="">
            <div class="info">
                <p class="price">
                    <span class="now">￥59</span>
                    <span class="send">包邮</span>
                </p>
                 <h3 class="title">小米体脂秤2代体重秤家用智能人体测脂肪精准称重计器小米电子秤家用体重秤测脂肪智能精准小米体重秤家用称</h3>
                <p class="sell">
                    <span>小米良米专卖店</span>
                    <span>2517人付款</span>
                </p>
            </div>
        </div>
        <div class="goods-item">
            <img src="https://img.alicdn.com/imgextra/i3/118052710/O1CN01h5pjhh1VtDup3mEdX_!!0-saturn_solar.jpg_220x220.jpg_.webp" alt="">
            <div class="info">
                <p class="price">
                    <span class="now">￥59</span>
                    <span class="send">包邮</span>
                </p>
                 <h3 class="title">小米体脂秤2代体重秤家用智能人体测脂肪精</h3>
                <p class="sell">
                    <span>小米良米专卖店</span>
                    <span>2517人付款</span>
                </p>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    
}
</script>


<style lang="scss" scoped>
.goods-list{
    display: flex;
    flex-wrap: wrap;
    padding: 0 7px;
    justify-content: space-between;
    .goods-item{
        width: 49%;
        border: 1px solid #ccc;
        box-shadow: 0 0 7px #ccc;
        margin: 4px 0 ;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        min-height: 282px;
        img{
            width: 100%;
        }
        .info{
            padding: 4px 2px;
            .price{
                .now{
                    color: #f40;
                    font-weight: 700;
                }
                .send{
                    background-color: #f85300;
                    position: absolute;
                    color: #fff;
                    margin-left: 10px;
                }
            }
            .title{
                font-size: 12px;
                max-height: 30px;
                line-height: 15px;
                overflow: hidden;
            }
            .sell{
                display: flex;
                justify-content: space-between;
                font-size: 12px;
            }
        }
    }
}
</style>